package com.yqya.springboot.distributedlock.mysql.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yqya.springboot.distributedlock.mysql.dao.LockInfoMapper;
import com.yqya.springboot.distributedlock.mysql.domain.LockInfo;
import com.yqya.springboot.distributedlock.mysql.service.LockInfoService;

/**
 * 锁信息服务接口实现类
 *
 * @author Kevin
 * @date 2019-08-03
 */
@Service
public class LockInfoServiceImpl extends ServiceImpl<LockInfoMapper, LockInfo> implements LockInfoService {

    @Override
    public LockInfo findByTagWithLock(String tag, Integer flag) {
        return baseMapper.findByTagWithLock(tag, flag);
    }

    @Override
    public void removeByTag(String tag, Integer flag) {

    }

}
